package com.albaba.designpattern.builder.text_002;

/**
 * @author zx
 * @version 1.0
 * @description TODO
 * @date 2025/2/19 21:09
 */
public class App {
    public static void main(String[] args) {
        // 获取连接对象
        RabbitMQClient_003 rabbitMQClient003 = new RabbitMQClient_003.Builder()
                .setHost("localhost")
                .setDurable(true)
                .setMode(1)
                .setQueue("hello").build();

        rabbitMQClient003.send("hello world");
    }
}
